﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SnakeGame
{
    class GameOptions
    {
        private int _width;
        private int _height;

        public GameOptions(int width, int height)
        {
            _width = width;
            _height = height;

            Console.WindowHeight = _height;
            Console.BufferHeight = _height;
            Console.WindowWidth = _width;
            Console.BufferWidth = _width;
        }

        public int Width
        {
            get { return _width; }
        }

        public int Height
        {
            get { return _height; }
        }

    }

}
